home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / reaction / reaction_prefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-19  |  1.8 KB  |  71 lines

  1. #ifndef REACTION_REACTION_PREFS_H
  2. #define REACTION_REACTION_PREFS_H
  3. /*
  4. **    $VER: reaction_prefs.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **    Reaction preferences definitions
  8. **
  9. **    (C) Copyright 1987-1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_SEMAPHORES_H
  14. #include <exec/semaphores.h>
  15. #endif
  16.  
  17. /*
  18.  * Obtain this semaphore while reading the preferences
  19.  */
  20. #define RAPREFSSEMAPHORE "REACTION-PREFS"
  21.  
  22. /* WARNING: This structure has been changing, and will continue to change.
  23.  * In the future, this structure might possible be accesssed at a higher
  24.  * level via a tag list. For now, except for class authors wishing our
  25.  * support in handling prefs, this is data is to be considered off limits.
  26.  */
  27.  
  28. #define ClassActPrefs UIPrefs
  29.  
  30. struct UIPrefs
  31. {
  32.     /* Set PrefsVersion to 1 */
  33.     struct SignalSemaphore     cap_Semaphore;
  34.     UWORD                     cap_PrefsVersion;
  35.     UWORD                     cap_PrefsSize;
  36.     UBYTE                     cap_BevelType;
  37.     UWORD                     cap_LayoutSpacing;
  38.     BOOL                     cap_3DLook;
  39.     UWORD                     cap_LabelPen;
  40.     UBYTE                     cap_LabelPlace;
  41.     UBYTE                     cap_3DLabel;
  42.     ULONG                    *cap_Reserved1;
  43.     BOOL                     cap_SimpleRefresh;
  44.     UBYTE                     cap_Pattern[256];
  45.     ULONG                    *cap_Reserved2;
  46.  
  47.     BOOL                     cap_3DProp;
  48.     BOOL                     cap_Reserved3;
  49.  
  50.     UBYTE                     cap_GlyphType;    /* currently unsupported/unused!! */
  51.     UBYTE                     cap_Reserved4;
  52.  
  53.     struct TextAttr            *cap_FallbackAttr;
  54.     struct TextAttr            *cap_LabelAttr;
  55. };
  56.  
  57.  
  58. /* Bevel Types */
  59. #define BVT_GT      0    /* GadTools style 2:1 bevels */
  60. #define BVT_THIN    1    /* CA 1:1 bevels */
  61. #define BVT_THICK   2    /* CA 2:1 4 color thick bevels */
  62. #define BVT_XEN     3    /* 4 color Xen-Style inspired 1/2 shine bevels */
  63. #define BVT_XENTHIN 4    /* 3 color Xen-Style inspired thin 1/2 shine 1:1 bevels */
  64.  
  65. /* Glyph Types */
  66. #define GLT_GT    0
  67. #define GLT_FLAT  1
  68. #define GLT_3D    2
  69.  
  70. #endif /* REACTION_REACTION_PREFS_H */
  71.